package de.yvert.jingle.impl.openexr;

public enum CompressionType
{

NO_COMPRESSION(0, 1),
RLE_COMPRESSION(1, 1),
ZIPS_COMPRESSION(2, 1),
ZIP_COMPRESSION(3, 16),
PIZ_COMPRESSION(4, 32),
PXR24_COMPRESSION(5, 16);

private final int code;
private final int blockSize;

private CompressionType(int code, int blockSize)
{
	this.code = code;
	this.blockSize = blockSize;
}

public byte getCode()
{ return (byte) code; }

public int getBlockSize()
{ return blockSize; }

}
